package org.jeecg.modules.htxincailiao.area.service.impl;

import org.jeecg.modules.htxincailiao.area.entity.HTArea;
import org.jeecg.modules.htxincailiao.area.mapper.HTAreaMapper;
import org.jeecg.modules.htxincailiao.area.service.IHTAreaService;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

/**
 * @Description: ht_area
 * @Author: jeecg-boot
 * @Date:   2021-06-10
 * @Version: V1.0
 */
@Service
public class HTAreaServiceImpl extends ServiceImpl<HTAreaMapper, HTArea> implements IHTAreaService {

    @Override
    public List<HTArea> queryByParentId(String parentId) {
       return baseMapper.queryByParentId(parentId) ;
    }

    @Override
    public List<HTArea> queryByName(String name) {
        return baseMapper.queryByName(name);
    }

    @Override
    public List<HTArea> fuzzyQueryByName(String name) {
        return baseMapper.fuzzyQueryByName(name);
    }
}
